from flask import Blueprint, send_from_directory, current_app
import os

# 页面蓝图
student_page_bp = Blueprint('student_page', __name__)
@student_page_bp.route('/')
def student_index():
    static_dir = os.path.join(current_app.root_path, '..', 'static')
    return send_from_directory(static_dir, 'student_main.html')

# API 蓝图
student_api_bp = Blueprint('student_api', __name__)
from . import routes 